<?xml version="1.0" encoding="utf-8" ?>
<REPLACEMENT_SYSTEM>
	<!-- INPUTS section describes all inputs which can control selection of replacement items -->
	<INPUTS>
		<INPUT NAME="LIVERY" OPTIONS="4" />
	</INPUTS>

	<NAMES INPUT ="LIVERY">
		<NAME LIVERY="51" NAME="#76 Team NFS Schubert" />
		<NAME LIVERY="52" NAME="#77 Team NFS Schubert" />

		<NAME LIVERY="808" NAME="#808 HATSUNE MIKU" />
		<NAME LIVERY="01" NAME="#0 HATSUNE MIKU" />
	</NAMES>

	<!-- DEPENDENCY section describes inputs which depend on each other in that only some combinations are permitted -->
	<!-- this will only be used in game for the menu system, and in the editor -->

	<!-- CONDITION sections define what to replace and when to replace it		-->
	<!-- They are used in the same way for all situations				-->
	
	<!-- Simple case - exterior paint effecting two materials -->

	<CONDITION LIVERY="51">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="BMW_Z4_GT3_LIVERY01_HR.dds" />
	</CONDITION>

	<CONDITION LIVERY="52">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="BMW_Z4_GT3_LIVERY02_HR.dds" />
		<REPLACE TEXTURE="BMW_Z4_GT3_BANNER_076_DIFFUSE.dds" NEWTEXTURE="BMW_Z4_GT3_BANNER_077_DIFFUSE.dds" />
	</CONDITION>

	<CONDITION LIVERY="808">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="bmw_z4_gt3_2008_miku.dds" />

		<REPLACE TEXTURE="tire_dunlop_gt3_diffuse_00.dds" NEWTEXTURE="tire_yokohama_stage4_diffuse_00.dds" />
		<REPLACE TEXTURE="tire_dunlop_gt3_diffuse_01.dds" NEWTEXTURE="tire_yokohama_stage4_diffuse_01.dds" />
		<REPLACE TEXTURE="tire_dunlop_gt3_normals_00.dds" NEWTEXTURE="tire_yokohama_stage0_normals_00.dds" />
	</CONDITION>

	<CONDITION LIVERY="01">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="bmw_z4_gt3_2012_miku.dds" />

		<REPLACE TEXTURE="bmw_z4_gt3_lights_diffuse.dds" NEWTEXTURE="bmw_z4_gt3_lights_diffuse_2012miku.dds" />
		<REPLACE TEXTURE="bmw_z4_gt3_lights_specular.dds" NEWTEXTURE="bmw_z4_gt3_lights_specular_2012miku.dds" />

		<REPLACE TEXTURE="tire_dunlop_gt3_diffuse_00.dds" NEWTEXTURE="tire_yokohama_stage4_diffuse_00.dds" />
		<REPLACE TEXTURE="tire_dunlop_gt3_diffuse_01.dds" NEWTEXTURE="tire_yokohama_stage4_diffuse_01.dds" />
		<REPLACE TEXTURE="tire_dunlop_gt3_normals_00.dds" NEWTEXTURE="tire_yokohama_stage0_normals_00.dds" />
	</CONDITION>

</REPLACEMENT_SYSTEM>
